<?php if (!defined('THINK_PATH')) exit();?><html>
<head>
	<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, width=device-width">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta name="format-detection" content="address=no">
<title><?php echo C('WEB_SITE_TITLE');?></title>
<meta name="keywords" content="<?php echo C('WEB_SITE_KEYWORD');?>">
<meta name="description" content="<?php echo C('WEB_SITE_DESCRIPTION');?>">
<link rel="stylesheet" type="text/css" href="/Public/Home/css/amazeui.min.css?data=20180709">
<link rel="stylesheet" type="text/css" href="/Public/Home/css/base.css?data=20180709">



<!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>

<![endif]-->
<!--[if gte IE 9]><!-->
	<script type="text/javascript" src="/Public/Home/js/jquery-2.0.3.min.js"></script>
<!--<![endif]-->

<script type="text/javascript" src="/Public/Home/js/amazeui.js?data=20180709"></script>
<script type="text/javascript" src="/Public/Home/js/jquery.min.js?data=20180709"></script>
<script type="text/javascript" src="/Public/Home/js/common.js?data=20180709"></script>
<script type="text/javascript" src="/Public/Home/js/scrolltopcontrol.js?data=20180709"></script>




	 
	<script type="text/javascript" src="http://api.map.baidu.com/api?key=&v=1.1&services=true"></script>
	<!-- <script src="http://google.cn/maps/api/js?v=3.exp&sensor=false"></script>
	 <style>
	html, body, #map-canvas {
		height: 500px;
		width:600px;
		margin: 0px;
		padding: 0px
	}
</style>-->
</head>
<body><!--onload="initialize()"-->
<header class="header">
    <div class="container text-center">
        <div class="am-g">
            <div class="am-u-lg-12">
                <div class="header-logo am-text-center">
                    <a href="/" title="俊聨地产"><img src="/Public/Home/images/home/logo.jpg?data=20180709" alt="俊聨地产"></a>
                </div>
                <div class="header-subtitle">
                    <hr>
                    <div class="header-subtitle-text">CITY LINK PROPERTY</div>
                </div>
            </div>
        </div>
        <div class="am-g">
            <div class="am-u-lg-12 am-text-center">
                <div class="header-nav">
                    <ul class="nav">
<!--<?php echo (mb_substr($nav["url"],0,-6)); ?>-->
                        <?php $__NAV__ = M('Channel')->field(true)->where("pid=0 AND status=1")->order("sort")->select(); if(is_array($__NAV__)): $i = 0; $__LIST__ = $__NAV__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$nav): $mod = ($i % 2 );++$i; $a=substr($nav['url'],0,strlen($nav['url'])-6);?>
							<?php $b=$Think.CONTROLLER_NAME;?>
                            <li>
                                <a class="<?php if($b == $a): ?>this<?php endif; ?>" href="<?php echo (get_nav_url($nav["url"])); ?>"><?php echo ($nav["title"]); ?><small><?php echo ($nav["en_title"]); ?></small></a>
                            </li><?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</header>


	
    <section class="main-inside">
	<div class="container">
		<div class="row secondnav">
			<ul class="am-text-center product_category">
			
				<?php if(is_array($category_list)): $i = 0; $__LIST__ = $category_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li><a class="<?php if( $type_id == $vo["id"] ): ?>this<?php endif; ?>" href="<?php echo U('index?id='.$vo['id']);?>"><span></span><?php echo ($vo["title"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>

			</ul>
		</div>
	</div>
<?php
if(empty($type_id)){ ?>

<script> $('.product_category li:first a').addClass('this');</script>
<?php
} ?>

		<div class="container main-inside-container">
			<div class="am-g">
			 
				<div class="article-content">
					<section class="article-content-content">
						 <div class="demo_main">
       
        <fieldset class="demo_content">
            <div  style="min-height: 500px; width: 100%;" id="map">
            </div>
          <script type="text/javascript">
                var markerArr = [
                    { title: "中山遠洋城總店", point: "113.432113,22.509067", address: "廣東省中山市東區文興路101號遠洋城天祺花園128卡",  tel: "(0760)88327212" },
                    { title: "中山利和廣塲店", point: "113.390552,22.514919", address: "廣東省中山市東區怡華街18號恒信花園D區6棟39卡",  tel: "(0760)88327271" },
					 { title: "香港門店", point: "113.9778355,22.3917263", address: "新界屯门华都商场地下33B铺",  tel: "(0760)88327271" },
                 { title: "澳洲悉尼店", point: "-33.876849,151.204826", address: "SUIT 7,LEVEL2，377-383 SUSSEX STREET,SYDNEY NSW 2000，AUSTRALIA"},
				];

                function map_init() {
                    var map = new BMap.Map("map"); // 创建Map实例
                    var point = new BMap.Point(113.746855,22.488946); //地图中心点，
                    map.centerAndZoom(point, 10); // 初始化地图,设置中心点坐标和地图级别。
                    map.enableScrollWheelZoom(true); //启用滚轮放大缩小
                    //向地图中添加缩放控件
                    var ctrlNav = new window.BMap.NavigationControl({
                        anchor: BMAP_ANCHOR_TOP_LEFT,
                        type: BMAP_NAVIGATION_CONTROL_LARGE
                    });
                    map.addControl(ctrlNav);

                    //向地图中添加缩略图控件
                    var ctrlOve = new window.BMap.OverviewMapControl({
                        anchor: BMAP_ANCHOR_BOTTOM_RIGHT,
                        isOpen: 1
                    });
                    map.addControl(ctrlOve);

                    //向地图中添加比例尺控件
                    var ctrlSca = new window.BMap.ScaleControl({
                        anchor: BMAP_ANCHOR_BOTTOM_LEFT
                    });
                    map.addControl(ctrlSca);

                    var point = new Array(); //存放标注点经纬信息的数组
                    var marker = new Array(); //存放标注点对象的数组
                    var info = new Array(); //存放提示信息窗口对象的数组
                    for (var i = 0; i < markerArr.length; i++) {
                        var p0 = markerArr[i].point.split(",")[0]; //
                        var p1 = markerArr[i].point.split(",")[1]; //按照原数组的point格式将地图点坐标的经纬度分别提出来
                        point[i] = new window.BMap.Point(p0, p1); //循环生成新的地图点
                        marker[i] = new window.BMap.Marker(point[i]); //按照地图点坐标生成标记
                        map.addOverlay(marker[i]);
                        marker[i].setAnimation(BMAP_ANIMATION_BOUNCE); //跳动的动画
                        var label = new window.BMap.Label(markerArr[i].title, { offset: new window.BMap.Size(20, -10) });
                        marker[i].setLabel(label);
                        info[i] = new window.BMap.InfoWindow("<p style=’font-size:12px;lineheight:1.8em;’>" + markerArr[i].title + "</br>地址：" + markerArr[i].address + "</br> 電話：" + markerArr[i].tel + "</br></p>"); // 创建信息窗口对象
                    }
                    marker[0].addEventListener("mouseover", function () {
                        this.openInfoWindow(info[0]);
                    });
                    marker[1].addEventListener("mouseover", function () {
                        this.openInfoWindow(info[1]);
                    });
                    marker[2].addEventListener("mouseover", function () {
                        this.openInfoWindow(info[2]);
                    });
                }
                //异步调用百度js
                function map_load() {
                    var load = document.createElement("script");
                    load.src = "http://api.map.baidu.com/api?v=1.4&callback=map_init";
                    document.body.appendChild(load);
                }
                window.onload = map_load;
            </script>
        </fieldset>
    </div>
	  <!--<div id="map-canvas"></div>
	<script>
function initialize() {
  var myLatlng = new google.maps.LatLng(22.4727418,113.73969);//谷歌坐标地址
  var mapOptions = {
    zoom: 14,
    center: myLatlng
  }
  var map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);
 
 
		var places = [];

            // Adding a LatLng object for each city

                places.push(new google.maps.LatLng(22.502869,113.425651));

                places.push(new google.maps.LatLng(22.508751, 113.3834150));

                places.push(new google.maps.LatLng(22.3917263,113.9778355));
				
				 places.push(new google.maps.LatLng(-33.876849,151.204826));
				 
		
				 
		for (var i = 0; i < places.length; i++) {

                    // Creating a new marker

                    var marker = new google.maps.Marker({

                        position: places[i],

                        map: map,

                        title: 'Place number ' + i

                    });

                }
 

}


 

</script>-->
						<p align="left" style="text-align:center;">
							<strong>
								<span style="font-size:16px;color:#666666;"><br>
							</span>
							</strong> 
						</p>
						<div class="nav nav23" style="margin:0px;padding:0px;">
						</div>
							<?php if(is_array($cultrue_content)): $i = 0; $__LIST__ = $cultrue_content;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i; echo ($vo["content"]); endforeach; endif; else: echo "" ;endif; ?>							
					</section>
				</div>
			</div>
		</div>

	</section>
	
<div id="topcontrol" style="margin-left: auto; margin-right: auto; width: 1000px;"><a href="javascript:void(0);" class="top_stick" style="position: fixed; bottom: 30px; right: 30px;">&nbsp;</a></div>
	<footer class="footer am-text-center">
		<div class="container text-center">
			<div class="am-g">
				<div class="am-u-lg-12">
					<div class="footer-bottom">
						<div>Copyright © 俊聨地産中介 All rights reserved.<?php echo C('WEB_SITE_ICP');?></div>
						<div>Designed &amp; coded by <a target="_blank" href="http://www.qnws.net/">中山青年網商</a></div>
					</div>
				</div>
			</div>
			<div class="am-g">
				<div class="am-u-lg-12">
					<div class="text-right footer-contact text-center">
						<button id="my-weixin" class="am-btn am-btn-success am-icon-weixin weixin">
						</button>
						<div id="erweima">
							<div class="erweima_Content">
								<div class="am-text-center" style="color:#000;padding-top:5px;">微信客服</div>
								<div style="padding:5px;"><img src="/Public/Home/images/home/wechatqr.jpg" width="200px" /></div>
							</div>
							<div id="triangle-down"></div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</footer>

	<script type="text/javascript">
		// nav
		var navigation_open =   true;
		var navigation  =   responsiveNav(
			'.header-nav',
			{
				label:'目录<span class="glyphicon am-icon-chevron-down"></span>',
				open:function(){
					navigation_open =   true;
				},
				close:function(){
					navigation_open =   true;
				}
			}
		);
		$(function(){
			$('#my-weixin').mouseover(function(){
			 $("#erweima").show();
			 })
			 
			 $('#my-weixin').mouseout(function(){
				 $("#erweima").hide();
			})
		})	
	</script>

	
	<script type="text/javascript">

		var imgSlider_html;

		function imgSlider() {

			if (typeof imgSlider_html == "undefined")
			{
				imgSlider_html	=	$('.banner-index').html();
			}
			else
			{
				$('.banner-index').html(imgSlider_html);
			}

			$('.banner-index').slide({
				'effect':		'leftLoop',
				'delayTime':	1000,
				'interTime':	3000,
				'autoPlay':		true,
				'easing':		'easeOutCubic',
				'autoPage':		true,
				'mainCell':		'.banner-main',
				'titCell':		'.banner-nav',
			});
		}

		$(function(){

			$(window).resize(function(){
				imgSlider();
			});

		});
		
		imgSlider();
	</script>
	
	<!--[if lt IE 9]>
		<script src="http://cdn.amazeui.org/amazeui/2.7.2/js/amazeui.ie8polyfill.min.js"></script>
	<![endif]-->
</body>
</html>
  
</body>
</html>